# -*- codeing = utf-8 -*-
# @Time : 2022/2/18 13:13
# @File : utils.py
# @Software : PyCharm
import os

EEXIST = 17


def makedir_exist_ok(dirpath):
    try:
        os.makedirs(dirpath)
    except OSError as e:
        if e.errno == EEXIST:
            pass
        else:
            raise
